/**
 * 
 */
package org.paybiz.core.payplatform.tenPay.constant;

/**
 * 财付通转账常量
 * 
 * @author nassir wen
 * @date 2011-9-24
 * @version V2.5
 * @Company: MSD.
 * @Copyright Copyright (c) 2011
 */
public class TenTransferConstant {
    public final static String OP_CODE_BATCH_DRAW = "1013"; //代付操作代码
    
    public final static String OP_CODE_BATCH_DRAW_QUERY = "1014"; //代付查询操作代码
    
    public final static String BATCH_DRAW = "batch_draw"; //代付操作
    
    public final static String BATCH_DRAW_QUERY = "batch_draw_query"; //代付查询操作
    
    public final static String SUC_0 = "0"; // 该批次已提交成功

    public final static String SUC_00 = "00";// 该批次已提交成功

    public final static String XML_FMT_ERR = "03020004";// 输入xml格式或内容有误

    public final static String BALANCE_NOT_ENOUGH = "03020008";// 商户在财付通帐号余额不足，请补足余额

    public final static String PACKAGE_ID_NOFOUND = "1165";// 该批次已存在

    public final static String USER_NOT_REGISTER = "1012";// 此用户没有注册帐户

    public final static String PASSWORD_AUTHENTICATION_ERR = "1003";// 密码认证失败

    public final static String BALANCE_NOT_ENOUGH_TOO = "1096";// 用户的可用余额不足

    public final static String USER_NO_PERMISSION = "1132";// 该用户没有此权限
    // 其他错误 调用批量银行代付接口查询批次状态，或者联系财付通确认
    /** 初始状态    */
    public final static String TRANSFER_ORIGIN = "origin";  
    /**已提交银行状态*/
    public final static String TRANSFER_TOBANK = "tobank"; 
    /**失败状态*/
    public final static String TRANSFER_FAIL = "fail";
    /**处理中状态*/
    public final static String TRANSFER_HANDLING = "handling"; 
    /**成功状态*/
    public final static String TRANSFER_SUCCESS = "success"; 
}
